package zhklappoint.util;

public class ApiUserUtils {

    //预约系统
    public static String getAppointAccess(String CODE) {//预约系统
        return String.format(ResourceUtil.getConfigByName("wx.webAccessTokenhttps"),
                ResourceUtil.getConfigByName("wx.appId.appoint"),
                ResourceUtil.getConfigByName("wx.secret.appoint"),
                CODE);
    }
    //预约系统后台管理
    public static String getAppointAdminAccess(String CODE) {//预约系统后台管理
        return String.format(ResourceUtil.getConfigByName("wx.webAccessTokenhttps"),
                ResourceUtil.getConfigByName("wx.appId.appointadmin"),
                ResourceUtil.getConfigByName("wx.secret.appointadmin"),
                CODE);
    }
}
